const express = require("express");
const router = express.Router();
const { getIndex } = require("../service/get-index");
router.get("/", async (req, res, next) => {
	const indexData = await getIndex({
		page: 1
	});
	console.log(indexData);
	res.send("index");
});

module.exports = router;
